﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShopPay.aspx.cs" Inherits="yuejilalala.ShopPay" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>结算页面</title>

		<link href="../AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css" />

		<link href="../basic/css/demo.css" rel="stylesheet" type="text/css" />
		<link href="../css/cartstyle.css" rel="stylesheet" type="text/css" />

		<link href="../css/jsstyle.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="../js/address.js"></script>
		<script type="text/javascript" src="../js/jquery.js"></script>
	</head>
	<body>
		<form runat="server">
			<asp:ScriptManager runat="server"></asp:ScriptManager>
			<asp:HiddenField ID="HiddenField2" runat="server" />
			<asp:HiddenField ID="HiddenField1" runat="server" />
		
		<!--顶部导航条 -->
				<div class="am-container header">
				<ul class="message-l">
					<div class="topMessage">
						<div class="menu-hd">
					 <asp:HyperLink ID="hl_dlm" NavigateUrl="information.aspx" runat="server" Visible="False"></asp:HyperLink>
						<asp:HyperLink ID="hl_dl" NavigateUrl="~/Login.aspx"  target="_top" runat="server">亲，请登录</asp:HyperLink>
						<asp:HyperLink ID="hl_zc" NavigateUrl="~/regiest.aspx"  target="_top" runat="server">免费注册</asp:HyperLink>
						
						</div>
					</div>
				</ul>
				<ul class="message-r">
					<div class="topMessage home">
						<div class="menu-hd"><a target="_top" class="h">
                            <asp:HyperLink ID="HyperLink3" NavigateUrl="~/home.aspx" runat="server">商城首页</asp:HyperLink></a></div>
					</div>
					<div class="topMessage my-shangcheng">
						<div class="menu-hd MyShangcheng"><a  target="_top"><i class="am-icon-user am-icon-fw"></i><asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="information.aspx">个人中心</asp:HyperLink></a></div>
					</div>
					<div class="topMessage mini-cart">
						<div class="menu-hd"><a id="mc-menu-hd"  target="_top"><i class="am-icon-shopping-cart  am-icon-fw"></i><span><asp:HyperLink NavigateUrl="shopcart.aspx" ID="HyperLink5" runat="server">购物车</asp:HyperLink></span><asp:Label  id="J_MiniCartNum"  class="h" runat="server" Text="0"></asp:Label></a></div>
					</div>
					
				</ul>
				</div>




			<!--悬浮搜索框-->

			<div class="nav white">
				<div class="logo"><img src="../images/logo.png" /></div>
				<div class="logoBig">
					<li><img src="../images/logobig.png" /></li>
				</div>

				<div class="search-bar pr">
					<a name="index_none_header_sysc" href="#"></a>
				</div>
			</div>

			<div class="clear"></div>
			<div class="concent">
				<!--地址 -->
				<div class="paycont">
					<div class="address">
						<h3>确认收货地址 </h3>
						<div class="control">
						
						</div>
						<div class="clear"></div>
						<ul>
                            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
							<ContentTemplate>
                            <asp:Repeater ID="Repeater2" runat="server">
								<ItemTemplate>
									<div class="per-border"></div>							
									<li class="user-addresslist">
										<div class="address-left">
											<div class="user DefaultAddr">
												<span class="buy-address-detail">   
											   <span class="buy-user"><%# Eval("name") %></span>
												<span class="buy-phone"><%# Eval("phone") %></span>
												</span>
											</div>
											<div class="default-address DefaultAddr">
												<span class="buy-line-title buy-line-title-type">收货地址：</span>
												<span class="buy--address-detail">
										   <span class="province"><%# Eval("addres") %></span>
												</span>

												</span>
											</div>
											<ins class="deftip hidden">默认地址</ins>
										</div>
										<div class="address-right">
											<span class="am-icon-angle-right am-icon-lg"></span>
										</div>
										<div class="clear"></div>

										<div class="new-addr-btn">
											<a href="#">设为默认</a>
											<span class="new-addr-bar">|</span>
											<a href="javascript:void(0);"  onclick="delClick(this);">删除</a>
										</div>

									</li>
								</ItemTemplate>
                            </asp:Repeater>
							</ContentTemplate>
                            </asp:UpdatePanel>

						</ul>

						<div class="clear"></div>
					</div>
					<!--物流 -->
					<div class="logistics">
						<h3>选择物流方式</h3>
						<ul class="op_express_delivery_hot">
							<li data-value="yuantong" class="OP_LOG_BTN  "><i class="c-gap-right" style="background-position:0px -468px"></i>圆通<span></span></li>
							<li data-value="shentong" class="OP_LOG_BTN  "><i class="c-gap-right" style="background-position:0px -1008px"></i>申通<span></span></li>
							<li data-value="yunda" class="OP_LOG_BTN  "><i class="c-gap-right" style="background-position:0px -576px"></i>韵达<span></span></li>
							<li data-value="zhongtong" class="OP_LOG_BTN op_express_delivery_hot_last "><i class="c-gap-right" style="background-position:0px -324px"></i>中通<span></span></li>
							<li data-value="shunfeng" class="OP_LOG_BTN  op_express_delivery_hot_bottom"><i class="c-gap-right" style="background-position:0px -180px"></i>顺丰<span></span></li>
						</ul>
					</div>
					<div class="clear"></div>

					<!--支付方式-->
					<div class="logistics">
						<h3>支付方式</h3>
						<ul class="pay-list">
							<li class="pay taobao"><img src="../images/zhifubao.jpg" />支付宝<span></span></li>
						</ul>
					</div>
					<div class="clear"></div>

					<!--订单 -->
					<div class="concent">
						<div id="payTable">
							<h3>确认订单信息</h3>
							<div class="cart-table-th">
								<div class="wp">

									<div class="th th-item">
										<div class="td-inner">商品信息</div>
									</div>
									<div class="th th-price">
										<div class="td-inner">单价</div>
									</div>
									<div class="th th-amount">
										<div class="td-inner">数量</div>
									</div>
									<div class="th th-sum">
										<div class="td-inner">金额</div>
									</div>
									<div class="th th-oplist">
										<div class="td-inner">配送方式</div>
									</div>

								</div>
							</div>
							<div class="clear"></div>
							</div>
						<div class="choose-conten"> 
							<div class="bundle-main">
                        <asp:Repeater ID="Repeater1" runat="server">
							<ItemTemplate>
									<%--迭代区--%>
										<ul class="item-content clearfix">
											<div class="pay-phone">
												<li class="td td-item">
													<div class="item-pic">
														<a href="#" class="J_MakePoint">
															<asp:Image Style="width:100%" ID="Image1" runat="server" ImageUrl='<%# "images/"+ Eval("proPic")%>'/></a>
													</div>
													<div class="item-info">
														<div class="item-basic-info">
															<%--标题--%>
															<a href="#" target="_blank" title=迭代的商品名 class="item-title J_MakePoint" data-point='<%#Eval ("ProName") %>' ><%#Eval ("ProName") %></a>
														</div>
													</div>
												</li>
												<li class="td td-info">
													<div class="item-props">
													<%--规格--%>
														<span class="sku-line">
                                                        <asp:Label ID="Label1" runat="server" Text='<%#Eval ("proSpeci") %>'></asp:Label>
														</span>
													</div>
												</li>
												<li class="td td-price">
													<div class="item-price price-promo-promo">
														<div class="price-content">
															<%--单价--%>
															<em class="J_Price now-price" data-price='<%# Eval("proprice") %>'> <%#Eval ("proprice") %></em>
														</div>
													</div>
												</li>
											</div>

											<li class="td td-amount">
												<div class="amount-wrapper ">
													<div class="item-amount ">
														<span class="phone-title">购买数量</span>
														<div class="sl">
															<%--数量 讲道理结算界面为什么还可以增加商品？--%>
															<%--<input class="min am-btn" name="" type="button" value="-" />--%>
															<span class="text_box number-input"   style="width:30px;" ><%# Eval("count") %></span>
															<%--<input class="text_box" name="" type="text" value="3" style="width:30px;" />--%>
															<%--<input class="add am-btn" name="" type="button" value="+" />--%>
														</div>
													</div>
												</div>
											</li>
											<li class="td td-sum">
												<div class="td-inner">
													<%--单个商品总价格--%>
													<em tabindex="0" class="J_ItemSum now-total-price" data-price='<%# Eval("ssum") %>'><%# Eval("ssum") %></em>
												</div>
											</li>
											<li class="td td-oplist">
												<div class="td-inner">
													<span class="phone-title">配送方式</span>
													<div class="pay-logis">
														包邮
													</div>
												</div>
											</li>
										</ul>
						<%--迭代区--%>
							</ItemTemplate>
                      </asp:Repeater>
						</div>
							
							<div class="clear"></div>
                            <%# Eval("name") %>
							<div class="pay-total">
							<div class="clear"></div>
                                <%# Eval("phone") %>
							</div>
							<!--含运费小计 -->
							<div class="buy-point-discharge ">
								<p class="price g_price ">
                                    <%# Eval("addres") %>合计（含运费） <span>¥</span><em  id="J_Total"><%=PaySum.ProPrice%></em>
								</p>
							</div>

							<!--信息 -->
                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
								<ContentTemplate>
							<div class="order-go clearfix">
								<div class="pay-confirm clearfix">
									<div class="box">
									<%--	购买人付款和收获地址信息--%>
										<div tabindex="0" id="holyshit267" class="realPay"><em class="t">实付款：</em>
											<span class="price g_price ">
                                    <span>¥</span> <em class="style-large-bold-red " id="J_ActualFee"><%=PaySum.ProPrice%></em>
											</span>
										</div>

										<div id="holyshit268" class="pay-address">
											<%--地址区--%>
											<p class="buy-footer-address">
												<span class="buy-line-title buy-line-title-type">寄送至：</span>
											<span class="buy--address-detail">
												<%--省--%>
											<span class="province">
												<asp:Label ID="lb_sheng" runat="server" Text="Label"></asp:Label>
											 </span>
												<%--市--%>
											<span class="city">
												<asp:Label ID="lb_shi" runat="server" Text="Label"></asp:Label>
											</span>
												<%--区--%>
											<span class="dist">
												<asp:Label ID="lb_qu" runat="server" Text="Label"></asp:Label>
											</span>
											<span class="street">
												<%--详细地址--%>
												<asp:Label ID="lb_dz" runat="server" Text="Label"></asp:Label>
											</span>
												</span>
											</p>
											<p class="buy-footer-address">
												<span class="buy-line-title">收货人：</span>
												<span class="buy-address-detail">   
                                         <span class="buy-user">
											 	<%--收货人--%>
                                             <asp:Label ID="lb_shr" runat="server" Text="Label">
                                             </asp:Label>

											 </span>
												<span class="buy-phone">
                                                    <asp:Label ID="lb_dh" runat="server" Text="Label"></asp:Label>
												</span>
												</span>
											</p>
										</div>
									</div>
									<%--提交订单付款--%>
									<div id="holyshit269" class="submitOrder">
										<div class="go-btn-wrap">
											<a  class="btn-go" >
                                                <asp:Button tabindex="0"  title="点击此按钮，提交订单" class="btn-go" ID="Button2" runat="server" Text="提交订单" EnableTheming="True" OnClick="Button2_Click" />
											</a>
										</div>
									</div>
									<div class="clear"></div>
								</div>
							</div>
								</ContentTemplate>
						</asp:UpdatePanel>
						</div>

						<div class="clear"></div>
					</div>
				</div>
				<div class="footer">
					<div class="footer-hd">
						<p>
							<a href="#">恒望科技</a>
							<b>|</b>
							<a href="#">商城首页</a>
							<b>|</b>
							<a href="#">支付宝</a>
							<b>|</b>
							<a href="#">物流</a>
						</p>
					</div>
					<div class="footer-bd">
						<p>
							<a href="#">关于恒望</a>
							<a href="#">合作伙伴</a>
							<a href="#">联系我们</a>
							<a href="#">网站地图</a>
							<em>© 2015-2025枫林火山组 版权所有. </em>
						</p>
					</div>
				</div>
			</div>
			<div class="theme-popover-mask"></div>
			<div class="theme-popover">

				<!--标题 -->
				<div class="am-cf am-padding">
					<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">新增地址</strong> / <small>Add address</small></div>
				</div>
				<hr/>
                <asp:UpdatePanel ID="UpdatePanel3" runat="server" ChildrenAsTriggers="False" UpdateMode="Conditional">
					<ContentTemplate>
							<div class="am-u-md-12">
					<div class="am-form am-form-horizontal">

						<div class="am-form-group">
							<label for="user-name" class="am-form-label">收货人</label>
							<div class="am-form-content">
                                <asp:TextBox ID="username" runat="server" placeholder="收货人"></asp:TextBox>
							</div>
						</div>

						<div class="am-form-group">
							<label for="user-phone" class="am-form-label">手机号码</label>
							<div class="am-form-content">
							<asp:TextBox ID="userphone" runat="server"  placeholder="手机号必填"></asp:TextBox>
							</div>
						</div>

						<div class="am-form-group">
							<label for="user-phone" class="am-form-label">所在地</label>
							<div class="am-form-content address">
                                <%--<input class="add am-btn" name="" type="button" value="+" />--%>
								<asp:DropDownList ID="DDL_sheng" runat="server" OnSelectedIndexChanged="DDL_sheng_SelectedIndexChanged"></asp:DropDownList>
                                <%--单个商品总价格--%>
								<asp:DropDownList ID="DDL_shi" runat="server" OnSelectedIndexChanged="DDL_shi_SelectedIndexChanged" AutoPostBack="True"></asp:DropDownList>
                              
								<asp:DropDownList ID="DDL_qu" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DDL_qu_SelectedIndexChanged"></asp:DropDownList>

							</div>
						</div>

						<div class="am-form-group">
							<label for="user-intro" class="am-form-label">详细地址</label>
							<div class="am-form-content">
								<asp:TextBox ID="tb_xq" runat="server" placeholder="输入详细地址" TextMode="MultiLine"></asp:TextBox>
								<small>100字以内写出你的详细地址...</small>
							</div>
						</div>

						<div class="am-form-group theme-poptit">
							<div class="am-u-sm-9 am-u-sm-push-3">
								<div class="am-btn">
                                  
                                    <asp:Button  class="am-btn am-btn-danger" ID="Button1" runat="server" Text="保存" OnClick="Button1_Click" />
								</div>
								<div class="am-btn am-btn-danger close">取消</div>
							</div>
						</div>
					</div>
				</div>
					</ContentTemplate>
                </asp:UpdatePanel>
			</div>
			<div class="clear"></div>
			</form>
	</body>

</html>